package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.ActionInfoDao;
import com.frogs.ucenter.entity.ActionInfo;
import com.frogs.ucenter.service.ActionInfoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("actionInfoService")
public class ActionInfoServiceImpl extends BaseServiceImpl<ActionInfo> implements ActionInfoService {
    @Autowired
    private ActionInfoDao actionInfoDao;

    public ActionInfoServiceImpl() {
        super();
    }

    public ActionInfoDao getActionInfoDao() {
        return actionInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<ActionInfo> getBaseDao() {
        return actionInfoDao;
    }

    public void setActionInfoDao(ActionInfoDao actionInfoDao) {
        this.actionInfoDao = actionInfoDao;
    }
}